//引入封装的reuest请求
const {
  request
} = require("./request.js");
//基于业务封装的接口
module.exports = {
	// 登录接口
  getLogin(data) {
     return request({
       url: "/index.php/api/banner/login",
       method: "POST",
	   data
     });
   },
   
   // 获取openId
   getJscode(data) {
      return request({
        url: "/index.php/api/banner/jscode2session",
        method: "POST",
   	   data
      });
    },
};


 